package cn.itcast.lombok;

import org.junit.Test;

public class App {
    @Test
    public void test() {
        //Person p = new Person();
        //p.setId(0);
        //p.setName("Rose");

        // 对象属性赋值
        Person person = Person.builder().id(100).name("Rose").build();
        System.out.println("person = " + person);
    }
}
